import request from '../units/request'

const api = {
    login: '/login',
    mess: '/wish',
    list: '/index/article/list'
}


export function Login(obj) {
    return request({
        url: api.login,
        method: 'post',
        data: obj
    })
}
export function List(obj) {
    return request({
        url: api.list,
        method: 'post',
        data: obj
    })
}